home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 23 / AACD 23.iso / AACD / Programming / tek / kn / elate / visual / rect.asm < prev    next >
Encoding:
Assembly Source File  |  2001-05-12  |  1.0 KB  |  42 lines

  1.  
  2.     .include 'taort'
  3.     .include 'ave/toolkit/toolkit.inc'
  4.     .include 'lib/tek/kn/elate/visual.inc'
  5.  
  6. ;=============================================================================
  7. ;-----------------------------------------------------------------------------
  8. ;    TEKlib
  9. ;    (C) 1999-2001 TEK neoscientists
  10. ;    all rights reserved.
  11. ;
  12. ;    void kn_rect(TAPTR v, TINT x, TINT y, TINT w, TINT h)
  13. ;
  14. ;-----------------------------------------------------------------------------
  15. ;=============================================================================
  16.  
  17.     tool 'lib/tek/kn/visual/rect',VP,TF_EMBED
  18.  
  19. ;-----------------------------------------------------------------------------
  20.  
  21.     ent p0 i0 i1 i2 i3 : -
  22.  
  23.     defbegin
  24.     defp visual
  25.     defi x,y,w,h
  26.     defp xarr,yarr,pixmap
  27.     defi color
  28.  
  29.         cpy.i    [visual+vis_fgcolor],color
  30.         cpy.p    [visual+vis_pixmap],pixmap
  31.         ncall    pixmap,box,(pixmap,x,y,color,w,h:-)
  32.  
  33.         ret
  34.         
  35.     defend
  36.  
  37.     toolend
  38.  
  39. ;-----------------------------------------------------------------------------
  40. ;=============================================================================
  41.